import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

// 引入样式
import "@/assets/css/global.css"
// 引入iconfont样式
import "@/assets/font/iconfont.css"
// 引入echarts主题文件
import "../public/static/theme/vintage"

// 引入echarts 挂载到vue原型链
import * as echarts from 'echarts';
Vue.prototype.$echarts = echarts;
// 引入axios挂载到vue原型链
import axios from 'axios';
// 默认请求地址
axios.defaults.baseURL='http://localhost:3000/api/'
Vue.prototype.$http = axios;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
